package com.facebank.usersupport.service;

import com.facebank.usersupport.model.Associator;
import com.facebank.usersupport.model.RestModel;

import javax.servlet.http.HttpSession;

/**
 * @Auther: yaozun
 * @Date: 2018/4/3 0003 09:25
 * @Description:
 */
public interface IAgentService {

    RestModel add(Associator associator,HttpSession session);

    RestModel list(Integer pageNo, Integer length, String associatorName, String phone, Short status, Long startTime, Long endTime ,HttpSession session);

    RestModel profit(String phone,Long startTime,Long endTime,HttpSession session,int pageNo,int length, String draw);

}
